﻿using Api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Api.Controllers.Group
{
    //public class GroupSearchController : Controller
    //{
    //    //LayansContext layans = new LayansContext();
    //    //
    //    // GET: /GroupSearch/
    //    public ActionResult Index()
    //    {
    //        return View();
    //    }

    //    public ActionResult Search(string query)
    //    {
    //        var groupSearch = layans.GroupInfoes.Where(x => x.Name.ToLower().Contains(query.ToLower()))
    //            .Select(x => new GroupSeachViewModel
    //            {
    //                Description = x.Description,
    //                Name = x.Name,
    //            }).ToList();

    //        return PartialView("_SearchResult", groupSearch);
    //    }

    //}
}